package com.wen.mall.service;

import com.wen.mall.pojo.User;
import com.wen.mall.vo.ResponseVo;
import org.springframework.stereotype.Service;

/**
 * @author 温嘉璐
 */
@Service
public interface UserService {
    /**
     * 注册
     * @param user 根据user查询
     * @return
     */
    ResponseVo<User> register(User user);
    ResponseVo<User> login(User user);



}
